Skip to content

Instantly share code, notes, and snippets.

@bitsurgeon
bitsurgeon / wsl.md
Last active August 20, 2026 21:22
WSL cheatsheet

Windows Subsystem for Linux interoperability with Windows

Run Linux tools from a Windows command line

wsl.exe <command>

Note:

@furaar
furaar / README.md
Created August 2, 2024 15:12
Step-by-step guide to install AMD ROCm on Ubuntu with RX6600 GPU. Includes setting up Ollama and running Llama 3.1 model. Perfect for machine learning and GPU-heavy tasks!

AMD ROCm Installation Guide on RX6600 + Ollama

System Information

            .-/+oossssoo+/-.               x@furaar 
        `:+ssssssssssssssssss+:`           -------- 
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 22.04.4 LTS x86_64 
    .ossssssssssssssssssdMMMNysssso.       Host: redacted 
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 6.5.0-45-generic 
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 2 hours, 40 mins 
@davidfowl
davidfowl / react_cli.cs
Last active August 20, 2026 21:19
React like framework based on Spectre.Console
#:package Spectre.Console@0.50.0
using Spectre.Console;
using Spectre.Console.Rendering;
using System.Threading.Channels;
// Entry point
var app = new ConsoleApp();
app.Render(new App());
@marcospgp
marcospgp / FloatingOrigin.cs
Last active August 20, 2026 21:18
A floating origin script for Unity.
// Based on script found at http://wiki.unity3d.com/index.php/Floating_Origin
// on 2021-05-13, modified substantially - mostly to accomodate multiplayer,
// by introducing threshold and offset values.
using UnityEngine;
public class FloatingOrigin : MonoBehaviour {
public static FloatingOrigin Instance;
// Largest value allowed for the main camera's X or Z coordinate before that
@brihernandez
brihernandez / FloatingOrigin.cs
Last active August 20, 2026 21:18
Floating origin to handle large worlds in Unity.
// Based on the Unity Wiki FloatingOrigin script by Peter Stirling
// URL: http://wiki.unity3d.com/index.php/Floating_Origin
using UnityEngine;
using UnityEngine.SceneManagement;
public class FloatingOrigin : MonoBehaviour
{
[Tooltip("Point of reference from which to check the distance to origin.")]
public Transform ReferenceObject = null;
@duyetpt
duyetpt / measure-software-simplicity.md
Last active August 20, 2026 21:17
Meansure software complexity
name measure-software-simplicity
description Measure and report how well a design, pull request, module, service, refactor, or repository follows software-simplicity principles such as Single Responsibility, deep modules, single knowledge ownership, low change amplification, low caller burden, valid-state design, actionable failures, controlled scope, and evidence-based performance work. Use for architecture assessments, code reviews, maintainability audits, refactoring baselines, before-and-after comparisons, and engineering quality reports.

Measure Software Simplicity

Assess simplicity with Goal-Question-Metric (GQM), repository evidence, and a calibrated scorecard. Treat measurements as decision support.

Rules

@mignonstyle
mignonstyle / git-command-cheatsheet.md
Last active August 20, 2026 21:16
Git and GitHub command cheatsheet

Git and GitHub command cheat sheet

init

Creating a local repository

$ git init
@danielcbaldwin
danielcbaldwin / arch_console_font.sh
Last active August 20, 2026 21:13
Change Console Fonts, Arch Linux
# Install terminus font
yaourt terminus-font
# Set your default font
# NOTE: You can setup the font size and codepage mappings using the font
# definition as shown below.
#
# ter-<X><SIZE><STYLE>
# where <X> is a character identifying the code page as listed bellow
@sell
sell / 📊 Discord Support Server Stats
Last active August 20, 2026 21:08
📊 Discord Support Server Stats
no-api-key support server 📛
Member Count: 115 👥
Region: US East 🏴
Roles: @everyone, owner, users, moderators, no-api-key, bot, Treasurer, supporters, mega supporter, GiveawayBot, ED, Server Booster, helpers, Contributor, Developer
Timestamp: 2022-04-21 03:09 am EST ⏲